package shiro.com.domain.sys;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import shiro.com.basie.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_role_test
 *
 * @author ruoyi
 * @date 2022-11-01
 */

@TableName(value="SYS_ROLE_TEST")
public class SysRoleTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 角色编号 */
    @TableId(value = "SYS_ROLE_ID", type = IdType.AUTO)
    private Long sysRoleId;

    /** 角色字符 */
    private String sysRoleName;

    /** 角色名称 */
    private String sysRoleDes;

    /** 排序顺序 */
    private Integer sysRoleDesc;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sysRoleCreate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sysRoleUpdate;

    /** 状态 */
    private Integer sysRoleStatu;

    public SysRoleTest() {
    }

    public void setSysRoleId(Long sysRoleId)
    {
        this.sysRoleId = sysRoleId;
    }

    public Long getSysRoleId()
    {
        return sysRoleId;
    }
    public void setSysRoleName(String sysRoleName)
    {
        this.sysRoleName = sysRoleName;
    }

    public String getSysRoleName()
    {
        return sysRoleName;
    }
    public void setSysRoleDes(String sysRoleDes)
    {
        this.sysRoleDes = sysRoleDes;
    }

    public String getSysRoleDes()
    {
        return sysRoleDes;
    }
    public void setSysRoleDesc(Integer sysRoleDesc)
    {
        this.sysRoleDesc = sysRoleDesc;
    }

    public Integer getSysRoleDesc()
    {
        return sysRoleDesc;
    }
    public void setSysRoleCreate(Date sysRoleCreate)
    {
        this.sysRoleCreate = sysRoleCreate;
    }

    public Date getSysRoleCreate()
    {
        return sysRoleCreate;
    }
    public void setSysRoleUpdate(Date sysRoleUpdate)
    {
        this.sysRoleUpdate = sysRoleUpdate;
    }

    public Date getSysRoleUpdate()
    {
        return sysRoleUpdate;
    }
    public void setSysRoleStatu(Integer sysRoleStatu)
    {
        this.sysRoleStatu = sysRoleStatu;
    }

    public Integer getSysRoleStatu()
    {
        return sysRoleStatu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sysRoleId", getSysRoleId())
            .append("sysRoleName", getSysRoleName())
            .append("sysRoleDes", getSysRoleDes())
            .append("sysRoleDesc", getSysRoleDesc())
            .append("sysRoleCreate", getSysRoleCreate())
            .append("sysRoleUpdate", getSysRoleUpdate())
            .append("sysRoleStatu", getSysRoleStatu())
            .toString();
    }
}
